/**
 * Created by dio on 2017/2/27 0027.
 */
import React, {Component} from 'react';
import {View, Alert, InteractionManager, ActivityIndicator,WebView} from 'react-native';
import ModuleCommonHeader from '../../module/ModuleCommonHeader';
import chjStyle from '../../../CustomStyle';

export default class NewsDetail extends Component{
    render () {
        return (<View style={chjStyle.mainContainer}>

            <WebView
                startInLoadingState={true}
                style={chjStyle.recordContainer}
                source={{uri: this.props.route.url}}
            />

            <ModuleCommonHeader
                title=''
                leftText='返回'
                clickedLeft={()=>{
                    this.props.navigator.pop();}}
            />
        </View>);
    }

    onNavigationStateChange()
    {}

    onShouldStartLoadWithRequest()
    {}
}